package com.atguigu.gmallsugar.service;

import com.atguigu.gmallsugar.mapper.VisitorStatsMapper;
import com.atguigu.gmallsugar.pojo.VisitStats;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class VisitorServiceImpl implements VisitorService{
@Autowired
    VisitorStatsMapper visitorStatsMapper;
    @Override
    public List<VisitStats> statsByHour(int date) {
        return visitorStatsMapper.statsByHour(date);
    }
}
